package com.lhj.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lhj.reggie.common.R;
import com.lhj.reggie.dto.DishDto;
import com.lhj.reggie.dto.SetmealDto;
import com.lhj.reggie.entity.Dish;
import com.lhj.reggie.entity.Setmeal;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    public R<String> save(SetmealDto setmealDto);

    public R<Page> page(int page, int pageSize, String name);

    public SetmealDto getbyIdWithDish( long id);

    public R<String> update( SetmealDto setmealDto);

    public R<String> delete( List<Long> ids);

    public R<String> updateStatus(Integer status,Long[] ids);

    public R<List<Setmeal>> list(Setmeal setmeal);
}
